package com.stark.commons.spring.web.boot.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication.Type;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import com.stark.commons.spring.web.boot.properties.GatewayExtentionProperties;

/**
 * Gateway 网关自动配置。
 * @author Ben
 * @since 1.0.0
 * @version 1.0.0
 */
@Configuration
@ConditionalOnWebApplication(type = Type.REACTIVE)
@ConditionalOnClass(name = "org.springframework.cloud.gateway.config.GatewayProperties")
@EnableConfigurationProperties(GatewayExtentionProperties.class)
public class GatewayAutoConfig {
	
}
